package quiz3;

/**
 * Created by xujc on 7/14/15.
 */
public class Circle {
    private double radius;
    private double perimeter;
    private double area;

    public Circle(double radius) {
        this.radius = radius;
        perimeter=2*radius*3.14159;
        area=radius*radius*3.14159;
    }

    public double getPerimeter() {
        return perimeter;
    }

    public double getArea() {
        return area;
    }
}
